package com.idata.model.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.aop.target.LazyInitTargetSource;

import java.util.ArrayList;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class GraphExploreResponse <NodeType> {

    private List<NodeType> nodes = new ArrayList<>();
    private List<Edge> edges = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Edge {
        private String srcNode;
        private String dstNode;
    }
}
